Sellkit\Elementor\Modules\Checkout\Classes\Global_Hooks D

Total Complexity 182
Dependencies 8
Dependents 2
Total lines 1,320
Lines of code 767
Logical lines of code 502
Comment lines 303
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
sellkit_checkout_modify_cart_by_bundle_products()
B
37 22 69
apply_discounted_prices()
B
40 18 57
before_cart_calculate()
A
47 11 33
modify_order_data_before_validate()
A
49 11 30
perform_upsell_accept_button()
A
43 9 48
change_cart_item_qty()
A
47 8 35
modify_checkout_order_item()
S
43 5 54
sellkit_default_shipping_method()
S
55 7 19
make_changes_after_cart_item_edit()
S
55 6 19
attach_user_shipping_fields_to_order_email()
S
55 6 18
attach_user_billing_fields_to_order_email()
S
55 6 18
sellkit_state_lookup_by_postcode()
S
55 6 17
checkout_fragment()
S
49 5 31
sellkit_checkout_during_ajax()
S
53 5 23
auth_user()
S
57 5 16
perform_upsell_reject_button()
S
52 4 26
take_care_of_decision_step()
S
56 4 18
search_for_email()
S
61 4 12
modify_variation_items()
S
57 3 17
call_funnel_popups()
S
56 3 17
simulate_our_widget_page_as_checkout()
S
58 3 16
set_customer_details_ajax()
S
58 3 15
search_for_username()
S
62 3 12
apply_template_replacement_during_ajax()
S
54 2 22
add_shipping_total_to_review_order()
S
60 2 16
widget_settings()
S
64 3 9
validate_postcode()
S
62 2 11
__construct()
S
54 1 19
coupon_form()
S
66 2 9
validate_phone_number()
S
65 2 9
save_user_defined_fields()
S
65 2 9
validate_user_defined_fields()
S
64 2 10
apply_coupon()
S
67 2 8
ajax_handler()
S
65 2 9
modify_products_price_before_woo_apply_discounts()
S
67 1 8
modify_variation_title()
S
75 1 4
instance()
S
75 1 4